set term eps
set output "optimization2.eps"
set xrange [-1:1]
set xlabel "x" font "Arial,20"
set ylabel "y" font "Arial,20"
plot x*x+x+1 with line lw 3 title "f(x)=x^2+x+1"
